/*
 * Copyright (c) 2009, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.wso2.carbon.bpel.ode.integration.config;

import org.apache.axiom.om.OMElement;

/**
 * The configuration for endpoints used by BPEL processes.
 * The main usage is to create/configure operation clients to invoke external services
 * @see org.wso2.carbon.bpel.ode.integration.config.EndpointConfigBuilder
 */
public class EndpointConfiguration {

    private String serviceName;

    private String servicePort;

    private String serviceNS;

    private String mexTimeout;

    private String basePath;

    private String unifiedEndPointReference;

    /* Keeps the inline definition of a unified endpoint */
    private OMElement unifiedEndPoint;

    public String getUnifiedEndPointReference() {
        return unifiedEndPointReference;
    }

    public void setUnifiedEndPointReference(String unifiedEndPointReference) {
        this.unifiedEndPointReference = unifiedEndPointReference;
    }

    public OMElement getUnifiedEndPoint() {
        return unifiedEndPoint;
    }

    public void setUnifiedEndPoint(OMElement unifiedEndPoint) {
        this.unifiedEndPoint = unifiedEndPoint;
    }

    public String getBasePath() {
        return basePath;
    }

    public void setBasePath(String basePath) {
        this.basePath = basePath;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServicePort() {
        return servicePort;
    }

    public void setServicePort(String servicePort) {
        this.servicePort = servicePort;
    }

    public String getServiceNS() {
        return serviceNS;
    }

    public void setServiceNS(String serviceNS) {
        this.serviceNS = serviceNS;
    }

    public String getMexTimeout() {
        return mexTimeout;
    }

    public void setMexTimeout(String mexTimeout) {
        this.mexTimeout = mexTimeout;
    }
}
